# -*- coding: utf-8 -*-
# Author: xiantingDeng
# File: 03_闭包应用.py
# Time: 20:59

def line_conf(a, b):
    def line(x):
        return a * x + b
    return line


